#include "Window.h"

#include "WindowImpl.h"

using namespace neiderra::core;
using namespace neiderra::gui;

void GUIWindow::setWindowImpl(GUIWindowImpl* impl){
	impl_ = impl;
}

void GUIWindow::show(){
	impl_->show();
}
	
void GUIWindow::update(){
	impl_->update();
}

unsigned GUIWindow::getWidth()
{ return impl_->getWidth(); }

unsigned GUIWindow::getHeight()
{ return impl_->getHeight(); }

void GUIWindow::setDimentions(unsigned w, unsigned h)
{ impl_->setDimentions(w, h); }

GUIWindow::GUIWindow(Core* core): Base(core) {
}

GUIWindow::~GUIWindow()
{
}
